package com.devplatform.mapper.points;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.devplatform.pojo.points.PointsReason;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author 86156
 * @description 针对表【points_reason】的数据库操作Mapper
 * @createDate 2025-09-28 14:44:44
 * @Entity com.devplatform.pojo.PointsReason
 */
public interface PointsReasonMapper extends BaseMapper<PointsReason> {
    @Select("SELECT * FROM points_reason WHERE reason_code = #{reasonCode}")
    PointsReason selectByReasonCode(@Param("reasonCode") String reasonCode);

}




